#include <iostream>
using namespace std;

class func1 {
public:
	func1() {}
	~func1() {}
public:
	void func() {
		cout << "func() in func1" << endl;
	}
};

class func2 {
public:
	func2() {}
	~func2() {}
public:
	void func() {
		cout << "func() in func2" << endl;
	}
};

class test2 : public func1, public func2 {
public:
	test2() {}
	~test2() {}
};

int main() {
	test2 a;
	a.func1::func();
	a.func2::func();

	return 0;
}